export interface UserInfo {
  id: string
  avatar: string
  nickname: string
  account: string
  mobile: string
  token: string
}

export interface OrderGoodsType {
  id?: string
  attrsText?: string
  count?: number
  name?: string
  payPrice?: number
  picture?: string
  price?: number
  skuId?: string
  totalPayPrice?: string
  totalPrice?: number
}

export interface OrderSummaryType {
  discountPrice: number
  goodsCount: number
  postFee: number
  totalPayPrice: number
  totalPrice: number
}

export interface OrderUserAddressType {
  [key: string]: any
  id?: string
  address: string
  addressTags: string
  cityCode: string
  contact: string
  countyCode: string
  fullLocation: string
  isDefault: number
  postalCode: string
  provinceCode: string
  receiver: string
}

export interface OrderType {
  goods: OrderGoodsType[]
  summary: OrderSummaryType
  userAddresses: OrderUserAddressType[]
}
